#include "pch.h"
#include "WebSocket/TcpSocket.h"
#include "WebSocket/TcpServer.h"
#include "WebSocket/TcpClient.h"

int main()
{
    TcpServer server;
TcpServer::Desc desc;
desc.port=1234;

bool res=server.Create(desc);

if(!res)
{
    return  0;
}
while(1)
{
    TcpClient client=server.Accept();
    LOGI("new client %s %d", client.IP(), client.Port());

    
}


};